package com.tzb.ssm.entity.admin;

import org.springframework.stereotype.Component;

/**
 * @Description 菜单实体类
 * @Author tzb
 * @Date 2021/6/6 17:59
 * @Version 1.0
 **/
@Component
public class Menu {

    private Long id;

    private Long parentId;

    private String name;

    private String url;

    private String icon;

    public Menu() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }
}
